package org.example.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 袁龙林
 * @since 2024-08-18
 */
@Getter
@Setter
@TableName("music")
public class Music implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 音乐标题
     */
    @TableField("title")
    private String title;

    /**
     * 艺术家或歌手名
     */
    @TableField("artist")
    private String artist;

    /**
     * 文件名
     */
    @TableField("file_name")
    private String fileName;

    /**
     * 音乐文件路径
     */
    @TableField("file_path")
    private String filePath;

    /**
     * 封面路径
     */
    @TableField("cover_path")
    private String coverPath;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;
}
